package de.szut.gui.options;

/**
 * Specified options component with a value that can be loaded and saved
 * @author Marc Huisinga
 *
 */
public interface OptionsComponent {
	/**
	 * Returns the state to be saved
	 * @return state
	 */
	public abstract String getOptionComponentState();
	
	/**
	 * Sets a loaded state
	 * @param newState new state of the component
	 */
	public abstract void setOptionComponentState(String newState);
	
	/**
	 * Gets the option key of this component
	 * @return option key
	 */
	public abstract String getOptionKey();
	
	/**
	 * Sets the option key of this component
	 * @param key option key
	 */
	public abstract void setOptionKey(String key);
}
